package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通道们入库记录对象 hmz_rk_info
 *
 * @author ruoyi
 * @date 2023-11-17
 */
@Data
public class HmzRkInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    private Long id;

    /**
     * 产品id
     */
    @Excel(name = "产品id")
    private Long productId;

    /**
     * rfid编码
     */
    @Excel(name = "rfid编码")
    private String rfidNumber;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * ip通道门
     */
    @Excel(name = "ip通道门")
    private String ip;

    /**
     * 出入状态
     */
    @Excel(name = "出入状态")
    private String status;

    private HmzProduct product;
}
